package com.example.safeassistan.home.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.example.safeassistan.R;
import com.example.safeassistan.home.model.TaskCheckTypeModel;
import com.example.safeassistan.home.model.TaskDegreeListModel;

import java.util.List;

public class TaskDegreeListAdapter extends BaseQuickAdapter<TaskDegreeListModel.ResultDTO,BaseViewHolder> {
    public TaskDegreeListAdapter(@Nullable List<TaskDegreeListModel.ResultDTO> data) {
        super(R.layout.item_common_list, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, TaskDegreeListModel.ResultDTO item) {
        helper.setText(R.id.tvText,item.getName());
    }


}
